import { fetchGet, fetchPost} from "../utils/http.js";

/**
 * 获取something
 */
export const fnGetWithdrawData = (param) => {
  return fetchGet("User/withdraw", param);
};

export const fnGetWithdrawLog = (param) => {
  return fetchPost("User/withdrawLog", param);
};

export const fnGetFlow = (param) => {
  return fetchPost("User/running", param);
};

export const fnSubmitPayout = (param) => {
	return fetchPost("User/withdraw", param)
}

export default {
   fnGetWithdrawData,
   fnGetWithdrawLog,
   fnGetFlow,
   fnSubmitPayout
}
